
<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of showquestion
 *
 * @author 12502
 */
include_once 'php\ld\findInDatabase.php';
class showquestion {
     public function showquestion($lanuge, $unit, $id,$set){
         $question=findInDatabase::findQuestion($lanuge, $unit, $id);
         if($set==1){
             echo $question[0];    
         }
         else{
             echo $question[1];
         }
     }
}
